home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 December / 2004-12 CHIP.iso / Narzedzia systemowe / Inno Setup 5.0.4 Beta / isetup-5.0.4-beta.exe / {app} / Examples / Example3.iss (.txt) < prev    next >
Encoding:
Inno Setup Script  |  2003-04-13  |  1.4 KB  |  29 lines

  1. ; -- Example3.iss --
  2. ; Same as Example1.iss, but creates some registry entries too.
  3. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING .ISS SCRIPT FILES!
  4. [Setup]
  5. AppName=My Program
  6. AppVerName=My Program version 1.5
  7. DefaultDirName={pf}\My Program
  8. DefaultGroupName=My Program
  9. UninstallDisplayIcon={app}\MyProg.exe
  10. [Files]
  11. Source: "MyProg.exe"; DestDir: "{app}"
  12. Source: "MyProg.hlp"; DestDir: "{app}"
  13. Source: "Readme.txt"; DestDir: "{app}"; Flags: isreadme
  14. [Icons]
  15. Name: "{group}\My Program"; Filename: "{app}\MyProg.exe"
  16. ; NOTE: Most apps do not need registry entries to be pre-created. If you
  17. ; don't know what the registry is or if you need to use it, then chances are
  18. ; you don't need a [Registry] section.
  19. [Registry]
  20. ; Start "Software\My Company\My Program" keys under HKEY_CURRENT_USER
  21. ; and HKEY_LOCAL_MACHINE. The flags tell it to always delete the
  22. ; "My Program" keys upon uninstall, and delete the "My Company" keys
  23. ; if there is nothing left in them.
  24. Root: HKCU; Subkey: "Software\My Company"; Flags: uninsdeletekeyifempty
  25. Root: HKCU; Subkey: "Software\My Company\My Program"; Flags: uninsdeletekey
  26. Root: HKLM; Subkey: "Software\My Company"; Flags: uninsdeletekeyifempty
  27. Root: HKLM; Subkey: "Software\My Company\My Program"; Flags: uninsdeletekey
  28. Root: HKLM; Subkey: "Software\My Company\My Program\Settings"; ValueType: string; ValueName: "Path"; ValueData: "{app}"
  29.